@import com.mgfireworks.mgplatform.mgadmin.product.model.*
@extends("/form_template")
@args Boolean isEdit
@args Band band
@{
	if(band==null){
		band=new Band();
	}
}
       <div class="x_title">
         <h2>@if(isEdit){修改}else{添加}品牌</h2>
         <div class="clearfix"></div>
       </div>
       <div class="x_content">
	       <div class="form-group">
	         <label class="control-label col-md-3 col-sm-3 col-xs-12" for="bandId">品牌编号<span class="required">*</span>
	         </label>
	         <div class="col-md-6 col-sm-6 col-xs-12">
	           <input type="text" id="bandId" name="bandId" value="@band.getBandId()" placeholder="请输入品牌编号" required="required" readonly="readonly" class="form-control col-md-7 col-xs-12">
	         </div>
	       </div>
	       <div class="form-group">
	         <label class="control-label col-md-3 col-sm-3 col-xs-12" for="bandName">品牌名称<span class="required">*</span>
	         </label>
	         <div class="col-md-6 col-sm-6 col-xs-12">
	           <input type="text" id="bandName" name="bandName" value="@band.getBandName()" placeholder="请输入品牌名称" required="required" @if(isEdit&&false){readonly="readonly"} class="form-control col-md-7 col-xs-12">
	         </div>
	       </div>
	       <div class="form-group">
	         <label class="control-label col-md-3 col-sm-3 col-xs-12" for="flag">标识位<span class="required">*</span>
	         </label>
	         <div class="col-md-6 col-sm-6 col-xs-12">
	           <input type="text" id="flag" name="flag" value="@band.getFlag()" placeholder="请输入标识位" required="required" @if(isEdit&&false){readonly="readonly"} class="form-control col-md-7 col-xs-12">
	         </div>
	       </div>
			
			<ul id="js-form-error-list" class="form-error-list row alert alert-danger alert-dismissible fade in">
				@errors("<li class=\"col-sm-4 label\">{0}</li>")
			</ul>
       </div>
